import { BasicColumn, FormSchema } from '@/components/Table';

export const tableColumns: BasicColumn[] = [
  { title: '用户ID', dataIndex: 'id' },
  { title: '下单手机', dataIndex: 'phone' },
  { title: '最近下单时间', dataIndex: 'lastOrderTime' },
  { title: '累计下单数', dataIndex: 'orderNum' },
  { title: '钱包余额（元）', dataIndex: 'totalBalance' },
];
export const tableFormSchema: FormSchema[] = [
  {
    field: 'phone',
    label: '下单手机',
    component: 'Input',
    colProps: { span: 6 },
  },
  {
    label: '交易时间',
    field: 'orderTime',
    component: 'RangePicker',
    colProps: { span: 6 },
  },
];
